package mop.gui.task;

import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import mop.gui.GUI;
import mop.model.task.TaskInterface;

/**
 * TaskDetailsAction
 * 
 * @author  Laurens
 */
public class TaskDetailsAction implements MouseListener
{  
    private GUI gui;
    private TaskInterface task;
    
    public TaskDetailsAction(GUI gui, TaskInterface task)
    {
        this.gui = gui;
        this.task = task;
    }

    public void mouseClicked(MouseEvent e)
    {
        gui.showTaskDetailsDialog(task);
    }

    public void mousePressed(MouseEvent e)
    {
    }

    public void mouseReleased(MouseEvent e)
    {
    }

    public void mouseEntered(MouseEvent e)
    {        
    }

    public void mouseExited(MouseEvent e)
    {
    }
}